#ifndef SHOP_3_H
#define SHOP_3_H

#include <QWidget>
#include <QTcpSocket>
#include <QDebug>
#include <QLabel>
#include "mysxt.h"

namespace Ui {
class Shop_3;
}

class Shop_3 : public QWidget
{
    Q_OBJECT

public:
    explicit Shop_3(QWidget *parent = nullptr);
    ~Shop_3();
    void recvInt(int num);
    void recvInt1(int num);
    void recvInt2(int num);
    void recvInt3(int num);
    void recvStr(QString str);

    QTcpSocket * m_tcpSock;
    QLabel * m_status;
    QString m_str;
    mysxt * m_sxt;
    int m_num;
    int m_num1;
    int m_num2;
    int m_num3;
    int i = 1;

private slots:
    void on_bt_1_clicked();

    void on_bt_7_clicked();

    void on_bt_6_clicked();

    void on_bt_4_clicked();

signals:
  void sendInt(int i);

private:
    Ui::Shop_3 *ui;
};

#endif // SHOP_3_H
